<template>
  <el-card
    shadow="never"
    header="二、主要技术经济考核指标"
    :body-style="{ color: '#606266', lineHeight: 1.5 }"
  >
    <el-form label-position="top">
      <template v-if="data.taskType == 1">
        <el-form-item label="1.成果形式">
          <div v-html="data.resultsForm"></div>
        </el-form-item>
        <el-form-item label="2.技术经济考核指标">
          <div v-html="data.technoeconomicIndicators"></div>
        </el-form-item>
        <el-form-item label="3.知识产权考核指标">
          <div v-html="data.intellectualPropertyIndicators"></div>
        </el-form-item>
      </template>
      <template v-else-if="data.taskType == 2">
        <el-form-item>
          <div v-html="data.technoeconomicIndicators"></div>
        </el-form-item>
      </template>
    </el-form>
  </el-card>
</template>

<script setup>
  defineProps({
    data: {
      type: Object,
      default: () => {},
    },
  })
</script>

<style lang="scss" scoped></style>
